package my.app2

import io.micronaut.http.annotation.Controller
import io.micronaut.http.annotation.Get
import org.slf4j.Logger
import org.slf4j.LoggerFactory

@Controller("/hello")
class HelloController {

    private static Logger log = LoggerFactory.getLogger(HelloController.class)

    @Get(uri="/", produces="text/plain")
    String index() {
        log.info("im hello two")
        "im hello two"
    }
}
